Skip to content

Fail fast and retry when apt hangs installing libvips - #2227

Merged
moveson merged 1 commit into
masterfrom
oveson/claude/harden-libvips-install
Aug 19, 2026
Merged

Fail fast and retry when apt hangs installing libvips#2227
moveson merged 1 commit into
masterfrom
oveson/claude/harden-libvips-install

Conversation

@moveson

@moveson moveson commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

The "Install libvips" step in verify.yml has hung indefinitely on a wedged apt mirror twice in two days (2026-08-18 run 32157036515 and 2026-08-19 run 32275921605, two shards each time), sitting at 40+ minutes until manually cancelled and rerun while every other shard passed in under 5 minutes.

This bounds the step so mirror trouble self-heals instead of wedging the job:

  • Each apt-get update / apt-get install invocation runs under a 90-second timeout with Acquire::Retries=3 and a 15-second HTTP timeout
  • The whole sequence retries up to three times with a short pause between attempts
  • timeout-minutes: 5 on the step as a hard ceiling, so the worst case is a fast, retryable failure rather than a silent hang

Testing

Not testable locally; the happy path is unchanged (apt-get update && apt-get install libvips42) and will be exercised by this PR's own CI run.

🤖 Generated with Claude Code

The Install libvips step has twice hung for 40+ minutes on a wedged
apt mirror (two shards each on 2026-08-18 and 2026-08-19), forcing a
manual cancel and rerun. Bound each apt command with a timeout and
retry up to three times, with a 5-minute ceiling on the whole step.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@moveson
moveson merged commit 4b88d5f into master Aug 19, 2026
7 checks passed
@moveson
moveson deleted the oveson/claude/harden-libvips-install branch August 19, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant